package unit.response;

/**
 * @author Yuri Denison
 * @since 07.08.11
 */
public class SendMessageRequestResponse extends RequestResponse {
    private boolean isDelivered;
    private int receiverID;

    public SendMessageRequestResponse(int requestId, int session, int receiverID, boolean delivered) {
        super(requestId, session);
        isDelivered = delivered;
        this.receiverID = receiverID;
    }

    public boolean isDelivered() {
        return isDelivered;
    }

    public int getReceiverID() {
        return receiverID;
    }
}
